import request from '@/utils/request'



// 获取视频标签列表
export function getLabelList(params){
    return request({
        url: '/vms/video/label/getList',
        method: 'get',
        params: params
    })
}

// 获取分页视频标签列表
export function getPaginationList(params){
    return request({
        url: '/vms/video/label/getPaginationList',
        method: 'get',
        params: params
    })
}

// 新增视频标签列表
export function add(data){
    return request({
        url: '/vms/video/label/add',
        method: 'post',
        data: data
    })
}

// 修改视频标签列表
export function updateLabel(data){
    return request({
        url: '/vms/video/label/update',
        method: 'post',
        data: data
    })
}



// 删除
export function delLabel(id){
    return request({
        url: '/vms/video/label/del',
        method: 'delete',
        params: { id }
    })
}

// 获取详情
export function getDetails(id){
    return request({
        url: '/vms/video/label/getDetails',
        method: 'get',
        params: { id }
    })
}


